:root {
  --text-color: #000;
  --secondary-color: #5151ef;
  --main-color: white;
  --light-bg-color: rgb(246, 246, 246);
  --dark-bg-color: #0f0f28;
  --sub-text-color: #808080;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--light-bg-color);
  color: var(--text-color);
}

.hero {
  background: var(--dark-bg-color);
  color: var(--main-color);
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--sub-text-color);
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
  background: var(--main-color);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.05);
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  font-weight: 600;
  color: var(--secondary-color);
}

input, select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

input:focus, select:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.btn-glow {
  background: linear-gradient(135deg, var(--secondary-color), #6c63ff);
  color: white;
  padding: 14px;
  border: none;
  font-weight: bold;
  font-size: 18px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(81, 81, 239, 0.4);
  transition: all 0.3s ease;
  width: 100%;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(81, 81, 239, 0.6);
}

h2 {
  color: var(--secondary-color);
}

.subtotal-box {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  background: #f2f3ff;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 10px;
}

.discount-box {
  margin-top: 10px;
  font-size: 0.9rem;
  color: green;
}

#suggestions button {
  background: #eef0ff;
  color: var(--secondary-color);
  margin: 4px 6px 0 0;
  padding: 6px 14px;
  border: 1px solid var(--secondary-color);
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s ease;
}

#suggestions button:hover {
  background: var(--secondary-color);
  color: white;
}

#removeReferral {
  margin-top: 10px;
  background: crimson;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.checkout-wrapper {
  max-width: 600px;
  margin: auto;
  padding: 40px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
}

.checkout-title {
  text-align: center;
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#suggestions button {
  margin: 4px 6px 0 0;
  padding: 6px 14px;
  background: #eef0ff;
  border: 1px solid var(--secondary-color);
  border-radius: 20px;
  color: var(--secondary-color);
  cursor: pointer;
  transition: 0.3s;
}

#suggestions button:hover {
  background: var(--secondary-color);
  color: white;
}

#removeReferral {
  margin-top: 8px;
  background: crimson;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
}

.subtotal-box {
  font-size: 1.4rem;
  font-weight: bold;
  padding: 10px 20px;
  background: #f2f3ff;
  color: var(--secondary-color);
  border-radius: 8px;
  display: inline-block;
  margin-top: 8px;
}

.discount-box {
  font-size: 0.95rem;
  color: green;
  margin-bottom: 4px;
}


@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}
